const {
  request
} = require("../index");

module.exports = {
  login(data) {
    return request("/miniprogram/auth/normalLogin ", 'post', data)
  },
  accessStatistic(data) {
    return request('/miniprogram/inspector/accessStatistic', 'get', data, 0)
  },
  createAccessInfo(data) {
    return request('/miniprogram/inspector/createAccessInfo', 'post', data, 0)
  },
  inspectorInfo(data) {
    return request('/miniprogram/inspector/inspectorInfo', 'get', data, 0)
  },
  changepwd(data) {
    return request('/miniprogram/inspector/password', 'put', data, 0)
  },
  tempData(data) {
    return request('/miniprogram/inspector/temperatureStatistic', 'get', data, 0)
  },
  scanInform(data) {
    return request('/miniprogram/inspector/userHealthInfo' , 'get', data, 0)
  },
  userHealthInfoList(data) {
    return request('/miniprogram/inspector/userHealthInfoList', 'get', data, 0)
  },
}